Defines MIDI program change events for an instrument corresponding to a predefined sound-set. The default gives the same value for all instruments and for those that are not defined. If no def-program is defined then no program change data is generated. Both program names or numbers can be used.
(def-program gm-sound-set
default lead-1-square
piano clavi ; send once at the beginning of a track
sax ((alto-sax) ; two first zones have its own values
(soprano-sax) ; third zone has programs for each
(alto-sax tenor-sax)) ; individual notes.
; If more zones, this
; whole patter is repeated.
bass ((1 2 3) (2 3)) ; each zone has programs for each
; notes, pattern is repeated
)
The program numbers can be any integer values between 1..128. The sound set is defined with def-sound-set. Using sound sets you'll be able to access instruments by name, rather than numbers, and port instrumentations to different synthesizers.
Program that is used for the instrument.
(def-program nil
bass 1
)
(def-program mu80-sounds
bass acidbass
)
(def-program mu80-sounds
bass (acidbass acobass)
)
Each note of the instrument has different program values, repeated cyclically.
(def-program nil
bass (1 2 3)
)
Each zone has different program value. If there are less program zones than there are actual zones then the whole pattern is repeated.
(def-program nil
bass ((1) (3))
)
(def-program mu80-sounds
bass ((acidbass) (elgrpno1))
)
Each zone of the instrument has programs for each note, repeated cyclically. If there are less program zones than there are actual zones the whole pattern is repeated.